import request from '/@/utils/request';
import { AxiosRequestConfig } from 'axios';

// /sysDictData/list 获取字典值
export const sysDictDataList = (params: object) => {
	return request({
		url: '/sysDictData/list',
		method: 'get',
		data: params,
	});
}

// /OMS/EduTrainingPlan/List 培训计划下拉列表
export const EduTrainingPlanList = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/List',
		method: 'get',
		data: params,
	});
}

// /OMS/EduTrainingPlan/Page 培训计划获取分页列表
export const EduTrainingPlanPage = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Page',
		method: 'get',
		data: params,
	});
}


// /OMS/EduTrainingPlan/Add 培训计划 - 新增
export const EduTrainingPlanAdd = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Add',
		method: 'post',
		data: params,
	});
}

// /OMS/EduTrainingPlan/Update 培训计划 - 编辑
export const EduTrainingPlanUpdate = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Update',
		method: 'put',
		data: params,
	});
}

// /OMS/EduTrainingPlan/Delete 培训计划 - 删除
export const EduTrainingPlanDelete = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Delete',
		method: 'delete',
		data: params,
	});
}

// /OMS/EduTrainingPlan/Release 培训计划 - 发布
export const EduTrainingPlanRelease = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Release',
		method: 'put',
		data: params,
	});
}

// /OMS/EduTrainingPlan/UnRelease 培训计划 - 取消发布
export const EduTrainingPlanUnRelease = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/UnRelease',
		method: 'put',
		data: params,
	});
}

// /OMS/OmsEduExaminationDB/Page 考核题库 - 分页查询
export const OmsEduExaminationDBPage = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/Page',
		method: 'get',
		data: params,
	});
}

// /OMS/OmsEduExaminationDB/Add 创建题库
export const OmsEduExaminationDBAdd = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/Add',
		method: 'post',
		data: params,
	});
}

// /OMS/OmsEduExaminationDB/Update 编辑题库
export const OmsEduExaminationDBUpdate = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/Update',
		method: 'put',
		data: params,
	});
}

// /OMS/OmsEduExaminationDB/Delete 删除题库
export const OmsEduExaminationDBDelete = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/Delete',
		method: 'delete',
		data: params,
	});
}

// /OMS/OmsEduExaminationPaper/Page 试卷编制 - 获取分页列表
export const OmsEduExaminationPaperPage = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/Page',
		method: 'get',
		data: params,
	});
}

// /OMS/OmsEduExaminationPaper/Add 试卷编制 - 新增
export const OmsEduExaminationPaperAdd = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/Add',
		method: 'post',
		data: params,
	});
}

// /OMS/OmsEduExaminationPaper/Update 试卷编制 - 编辑
export const OmsEduExaminationPaperUpdate = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/Update',
		method: 'put',
		data: params,
	});
}

// /OMS/OmsEduExaminationPaper/GeneratePaper 一键生成考卷
export const OmsEduExaminationPaperGeneratePaper = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/GeneratePaper',
		method: 'post',
		data: params,
	});
}

// /OMS/EduStudyOL/Page 在线学习分页查询
export const EduStudyOLPage = (params: object) => {
	return request({
		url: '/SMS/EduStudyOL/Page',
		method: 'get',
		data: params,
	});
}

// /OMS/OmsEduExamOL/Page 在线考试分页查询
export const OmsEduExamOLPage = (params: object) => {
	return request({
		url: '/SMS/OmsEduExamOL/Page',
		method: 'get',
		data: params,
	});
}

// /OMS/UserExamPaper/Page 用户考卷分页查询
export const UserExamPaperPage = (params: object) => {
	return request({
		url: '/SMS/UserExamPaper/Page',
		method: 'get',
		data: params,
	});
}

// /OMS/EduStudyOL/Add 在线学习 - 创建记录
export const EduStudyOLAdd = (params: object) => {
	return request({
		url: '/SMS/EduStudyOL/Add',
		method: 'post',
		data: params,
	});
}

// /OMS/OmsEduExaminationDB/List 获取题库记录列表
export const OmsEduExaminationDBList = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/List',
		method: 'get',
		data: params,
	});
}

// /OMS/OmsEduExamOL/StartTheExamination 开始考试/重新考试
export const OmsEduExamOLStartTheExamination = (params: object) => {
	return request({
		url: '/SMS/OmsEduExamOL/StartTheExamination',
		method: 'post',
		data: params,
	});
}

// /OMS/OmsEduExamOL/HandedIn 在线考试 交卷
export const OmsEduExamOLHandedIn = (params: object) => {
	return request({
		url: '/SMS/OmsEduExamOL/HandedIn',
		method: 'post',
		data: params,
	});
}

// /OMS/UserExamPaper/List 获取考卷列表数据
export const UserExamPaperList = (params: object) => {
	return request({
		url: '/SMS/UserExamPaper/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRPlan/Page 应急演练计划 分页
export const SMSDRPlanPage = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRPlan/Add 应急演练计划 创建记录
export const SMSDRPlanAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDRPlan/Update 应急演练计划 编辑
export const SMSDRPlanUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDRPlan/Delete 应急演练计划 删除
export const SMSDRPlanDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDRRecord/Add 应急演练记录 创建记录
export const SMSDRRecordAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDRRecord/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDRRecord/Update 应急演练记录 编辑记录
export const SMSDRRecordUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDRRecord/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDRRecord/Delete 应急演练记录 删除记录
export const SMSDRRecordDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDRRecord/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDRRecord/Page 应急演练记录 获取分页列表
export const SMSDRRecordPage = (params: object) => {
	return request({
		url: '/SMS/SMSDRRecord/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRPlan/List 应急演练计划 获取记录列表
export const SMSDRPlanList = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRAccident/Trees 事故应急管理树
export const SMSDRAccidentTrees = (params: object) => {
	return request({
		url: '/SMS/SMSDRAccident/Trees',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRAccident/Add 事故应急管理 创建记录
export const SMSDRAccidentAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDRAccident/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDRAccident/Update 事故应急管理 编辑记录
export const SMSDRAccidentUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDRAccident/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDRAccident/Delete 事故应急管理 删除记录
export const SMSDRAccidentDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDRAccident/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/Page 风险分区 获取分页列表
export const SMSDCRiskPartitionPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/Add 风险分区 创建记录
export const SMSDCRiskPartitionAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/Update 风险分区 编辑记录
export const SMSDCRiskPartitionUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/Delete 风险分区 删除记录
export const SMSDCRiskPartitionDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /EAM/Location/Tree 获取区域
export const LocationTree = (params: object) => {
	return request({
		url: '/EAM/Location/Tree',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskPartitionDept/BathaAddOrUpdate 风险分区部门 批量新增或编辑
export const SMSDCRiskPartitionDeptBathaAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartitionDept/BathaAddOrUpdate',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCRiskPartitionUser/BathaAddOrUpdate 风险分区人员 批量新增或编辑
export const SMSDCRiskPartitionUserBathaAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartitionUser/BathaAddOrUpdate',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCRiskPartitionDept/List 风险分区部门 获取记录列表
export const SMSDCRiskPartitionDeptList = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartitionDept/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskPartitionUser/List 风险分区人员 获取记录列表
export const SMSDCRiskPartitionUserList = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartitionUser/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/DrawAreaChart 保存绘制区域的数据信息
export const SMSDCRiskPartitionDrawAreaChart = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/DrawAreaChart',
		method: 'put',
		data: params,
	});
}

// /EAM/Classify/GetList 设备类型
export const ClassifyGetList = (params: object) => {
	return request({
		url: '/EAM/Classify/GetList',
		method: 'get',
		data: params,
	});
}

// /EAM/Equipment/GetList 设备台账列表
export const EquipmentGetList = (params: object) => {
	return request({
		url: '/EAM/Equipment/GetList',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/Page 风险分析单元 获取分页列表
export const SMSDCAnalysisUnitPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/Delete 风险分析单元 删除
export const SMSDCAnalysisUnitDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitJob/Page 风险分拆单元 分页列表
export const SMSDCAnalysisUnitJobPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitJob/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/Add 风险分析单元 创建记录
export const SMSDCAnalysisUnitAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/Update 风险分析单元 编辑记录
export const SMSDCAnalysisUnitUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/List 风险分区 下拉列表
export const SMSDCRiskPartitionList = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitJob/Add  风险分析单元作业活动 创建记录
export const SMSDCAnalysisUnitJobAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitJob/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitJob/Delete 风险分析单元作业活动 删除记录
export const SMSDCAnalysisUnitJobDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitJob/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitJob/Update 风险分析单元作业活动 编辑记录
export const SMSDCAnalysisUnitJobUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitJob/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/UpdateIsUse 风险分析单元 单条启用/停用
export const SMSDCAnalysisUnitUpdateIsUse = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/UpdateIsUse',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/BathUpdateIsUse 风险分析单元 批量启用/停用
export const SMSDCAnalysisUnitBathUpdateIsUse = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/BathUpdateIsUse',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCMeasureClass/Trees 获取风险管控措施分类树
export const SMSDCMeasureClassTrees = (params: object) => {
	return request({
		url: '/SMS/SMSDCMeasureClass/Trees',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCMeasureClass/Delete 风险管控措施分类 删除记录
export const SMSDCMeasureClassDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCMeasureClass/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCMeasureClass/Add 风险管控措施分类 新增记录
export const SMSDCMeasureClassAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCMeasureClass/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCMeasureClass/Update 风险管控措施分类 编辑记录
export const SMSDCMeasureClassUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCMeasureClass/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCList/Page 风险管控管理 获取分页列表
export const SMSDCListPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCList/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCList/Delete  风险管控管理 删除记录
export const SMSDCListDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCList/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCList/Add 风险管控清单 创建记录
export const SMSDCListAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCList/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCList/Update 风险管控管理 编辑记录
export const SMSDCListUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCList/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/List 风险分析单元 下拉列表
export const SMSDCAnalysisUnitList = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCEvent/Add 风险事件 创建记录
export const SMSDCEventAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCEvent/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPath/Page 巡检路线 分页列表
export const SMSIPPathPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPath/Detail  巡检路线 详情
export const SMSIPPathDetail = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPath/Add 巡检路线 创建记录
export const SMSIPPathAdd = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPath/Update 巡检路线 编辑记录
export const SMSIPPathUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPPath/UpdateIsUse 巡检路线 单条启用/停用
export const SMSIPPathUpdateIsUse = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/UpdateIsUse',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPPath/BathUpdateIsUse 巡检路线 批量启用/停用
export const SMSIPPathBathUpdateIsUse = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/BathUpdateIsUse',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPPath/Delete 巡检路线 删除记录
export const SMSIPPathDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/Add 巡检点 创建记录
export const SMSIPPathUnitAdd = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/Page 巡检点 分页查询
export const SMSIPPathUnitPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/List 巡检点（风险分析单元）列表
export const SMSIPPathUnitList = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/Delete 巡检点 删除记录
export const SMSIPPathUnitDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/BathAddOrUpdate 巡检点 批量新增
export const SMSIPPathUnitBathAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/BathAddOrUpdate',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPathUnit/ChangeSort 变更巡检点顺序编号
export const SMSIPPathUnitChangeSort = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathUnit/ChangeSort',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCList/List 风险管控清单下拉列表
export const SMSDCListList = (params: object) => {
	return request({
		url: '/SMS/SMSDCList/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPathContent/BatchAddOrUpdate 巡检项目 批量编辑
export const SMSIPPathContentBatchAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathContent/BatchAddOrUpdate',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPathContent/Delete 巡检项目 删除记录
export const SMSIPPathContentDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathContent/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCSafetyProblem/Add 隐患问题清单 新增
export const SMSDCSafetyProblemAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCSafetyProblem/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCEvent/List 风险事件列表 下拉列表
export const SMSDCEventList = (params: object) => {
	return request({
		url: '/SMS/SMSDCEvent/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCEvent/Update 风险事件 编辑记录
export const SMSDCEventUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCEvent/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCEvent/Delete 风险事件 删除记录
export const SMSDCEventDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCEvent/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCSafetyProblem/List 风险问题清单列表
export const SMSDCSafetyProblemList = (params: object) => {
	return request({
		url: '/SMS/SMSDCSafetyProblem/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCSafetyProblem/Update 风险问题清单 编辑记录
export const SMSDCSafetyProblemUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCSafetyProblem/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCSafetyProblem/Delete 风险问题清单 编辑记录
export const SMSDCSafetyProblemDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCSafetyProblem/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPPathContent/List 巡检项目（风险管控）列表
export const SMSIPPathContentList = (params: object) => {
	return request({
		url: '/SMS/SMSIPPathContent/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlan/Page 巡检计划 获取分页列表
export const SMSIPPlanPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlan/Add 巡检计划 创建记录
export const SMSIPPlanAdd = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPlan/Delete 巡检计划 删除记录
export const SMSIPPlanDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPPath/List 巡检线路 下拉列表
export const SMSIPPathList = (params: object) => {
	return request({
		url: '/SMS/SMSIPPath/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlan/Update 巡检计划 编辑记录
export const SMSIPPlanUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPPlanContent/BatchAddOrUpdate 计划巡检项目 批量创建记录
export const SMSIPPlanContentBatchAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlanContent/BatchAddOrUpdate',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPlan/TaskAllocation 巡检计划 - 任务分配
export const SMSIPPlanTaskAllocation = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/TaskAllocation',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/Page 我的巡检任务 - 分页列表
export const SMSIPTaskPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTask/Delete 我的巡检任务 - 删除记录
export const SMSIPTaskDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPTask/Add 我的巡检任务 - 创建记录
export const SMSIPTaskAdd = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPPlan/List 巡检计划 - 下拉列表
export const SMSIPPlanList = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlanContent/List 巡检计划 - 风险管控清单 下拉数据
export const SMSIPPlanContentList = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlanContent/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlan/UpdateState 巡检计划 - 更新启用状态
export const SMSIPPlanUpdateState = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/UpdateState',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/List 巡检任务 - 获取记录列表
export const SMSIPTaskContentList = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/BatchAddOrUpdate 巡检任务 - 巡检项目（批量新增/编辑）
export const SMSIPTaskContentBatchAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/BatchAddOrUpdate',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/TaskAllocation 巡检任务 - 任务分配
export const SMSIPTaskTaskAllocation = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/TaskAllocation',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/Submit 巡检任务 - 任务执行
export const SMSIPTaskSubmit = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Submit',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/Cancel 巡检任务 - 任务取消
export const SMSIPTaskCancel = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Cancel',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/ReStart 巡检任务 - 任务重新执行
export const SMSIPTaskReStart = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/ReStart',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/Start 巡检任务 - 任务开始执行
export const SMSIPTaskStart = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Start',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/Transfer 巡检任务 - 任务转办
export const SMSIPTaskTransfer = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Transfer',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPTask/TaskStatisticsRecordCount 巡检任务 - 获取任务数量
export const SMSIPTaskTaskStatisticsRecordCount = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/TaskStatisticsRecordCount',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPReasonRecord/List 问题随手拍 - 获取文件列表
export const SMSIPReasonRecordList = (params: object) => {
	return request({
		url: '/SMS/SMSIPReasonRecord/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPReasonRecord/Delete 问题随手拍 - 删除文件记录
export const SMSIPReasonRecordDelete = (params: object) => {
	return request({
		url: '/SMS/SMSIPReasonRecord/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPReasonRecord/Page 问题随手拍 - 分页记录查询
export const SMSIPReasonRecordPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPReasonRecord/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPReasonRecord/Add 问题随手拍 - 新增记录
export const SMSIPReasonRecordAdd = (params: object) => {
	return request({
		url: '/SMS/SMSIPReasonRecord/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSIPReasonRecord/Update 问题随手拍 - 编辑记录
export const SMSIPReasonRecordUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPReasonRecord/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/TaskAnalysisUnits 巡检任务 - 巡检项目 - 风险分析单元列表
export const SMSIPTaskContentTaskAnalysisUnits = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/TaskAnalysisUnits',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/SetControlled 设置是否受控
export const SMSIPTaskContentSetControlled = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/SetControlled',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSHDHidden/Add 隐患管理 - 创建记录
export const SMSHDHiddenAdd = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDHidden/List 隐患管理 - 列表查询
export const SMSHDHiddenList = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDRectify/List 隐患整改 - 获取记录列表
export const SMSHDRectifyList = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDHidden/Update 隐患整改 - 编辑记录
export const SMSHDHiddenUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/Update',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/Page 隐患整改 - 获取分页列表
export const SMSHDRectifyPage = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDRectify/StateCount 隐患整改 - 状态数量
export const SMSHDRectifyStateCount = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/StateCount',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTask/Complete 完成任务
export const SMSIPTaskComplete = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Complete',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/RectificationShift 整改转办
export const SMSHDRectifyRectificationShift = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/RectificationShift',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/RectificationResult 登记整改结果
export const SMSHDRectifyRectificationResult = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/RectificationResult',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/ReviewResult 登记复查结果
export const SMSHDRectifyReviewResult = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/ReviewResult',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/ReviewShift 转办复查结果
export const SMSHDRectifyReviewShift = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/ReviewShift',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/AcceptanceShift 验收转办
export const SMSHDRectifyAcceptanceShift = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/AcceptanceShift',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSHDRectify/AcceptanceResult 验收登记
export const SMSHDRectifyAcceptanceResult = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/AcceptanceResult',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBApply/Page 作业申请 获取分页列表数据
export const SMSJOBApplyPage = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSJOBApply/Add 作业申请 创建记录
export const SMSJOBApplyAdd = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBApply/Update 作业申请 编辑记录
export const SMSJOBApplyUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/Update',
		method: 'put',
		data: params,
	});
}

// /OMS/Provider/GetList 获取承包商列表
export const ProviderGetList = (params: object) => {
	return request({
		url: '/OMS/Provider/GetList',
		method: 'get',
		data: params,
	});
}

// /SMS/project/list 项目下拉列表
export const projectList = (params: object) => {
	return request({
		url: '/SMS/project/list',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSJOBApply/ApplyRevocation 作业申请撤回
export const SMSJOBApplyApplyRevocation = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/ApplyRevocation',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBApply/Delete 作业申请删除
export const SMSJOBApplyDelete = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitMachine/Page 风险分析单元设备 获取分页列表数据
export const SMSDCAnalysisUnitMachinePage = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitMachine/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitMachine/Add 风险单元设备 创建记录
export const SMSDCAnalysisUnitMachineAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitMachine/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitMachine/Update 风险分析单元设备 编辑记录
export const SMSDCAnalysisUnitMachineUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitMachine/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitMachine/Delete 风险分析单元设备 删除记录
export const SMSDCAnalysisUnitMachineDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitMachine/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSJOBApply/ApplySubimt 发起作业申请
export const SMSJOBApplyApplySubimt = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/ApplySubimt',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBApply/List 作业活动列表
export const SMSJOBApplyList = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCHazop/Page HAZOP分页列表
export const SMSDCHazopPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCHazop/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCHazop/Delete HAZOP 删除记录
export const SMSDCHazopDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCHazop/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCHazop/Add HAZOP 创建记录
export const SMSDCHazopAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCHazop/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCHazop/Update HAZOP 编辑记录
export const SMSDCHazopUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCHazop/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCJHA/Page JHA 分页列表
export const SMSDCJHAPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCJHA/Delete JHA 删除记录
export const SMSDCJHADelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCJHA/Add JHA 新增记录
export const SMSDCJHAAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCJHA/Update JHA 编辑记录
export const SMSDCJHAUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCJHA/BathAddByExcel 批量上传文件
export const SMSDCJHABathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/BathAddByExcel',
		method: 'post',
		data: params,
		multiPartFormData: true,
	} as AxiosRequestConfig);
}

// /SMS/SMSDCSCL/Page SCL 获取分页列表
export const SMSDCSCLPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCSCL/Add SCL 创建记录
export const SMSDCSCLAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCSCL/Update SCL 编辑记录
export const SMSDCSCLUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCSCL/Delete SCL 删除记录
export const SMSDCSCLDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCSCL/BathAddByExcel SCL 批量导入
export const SMSDCSCLBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/BathAddByExcel',
		method: 'post',
		data: params,
		multiPartFormData: true,
	} as AxiosRequestConfig);
}

// /SMS/SMSDCAnalysisUnit/ApplySubimt 发起风险管控记录变更审批
export const SMSDCAnalysisUnitApplySubimt = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/ApplySubimt',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitSnapshot/Page 风险分析单元快照 获取分页列表
export const SMSDCAnalysisUnitSnapshotPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitSnapshot/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitSnapshot/EventSnapshotList 获取风险事件快照列表
export const SMSDCAnalysisUnitSnapshotEventSnapshotList = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitSnapshot/EventSnapshotList',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitSnapshot/DCListSnapshotList 获取风险管理记录快照列表
export const SMSDCAnalysisUnitSnapshotDCListSnapshotList = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitSnapshot/DCListSnapshotList',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnitSnapshot/DCSafetyProblemSnapshotList 获取风险问题快照列表
export const SMSDCAnalysisUnitSnapshotDCSafetyProblemSnapshotList = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnitSnapshot/DCSafetyProblemSnapshotList',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/ApplyRevocation 撤回风险管控记录创建
export const SMSDCAnalysisUnitApplyRevocation = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/ApplyRevocation',
		method: 'post',
		data: params,
	});
}

// /SMS/OmsEduExaminationDB/BathAddByExcel 批量导入题库
export const OmsEduExaminationDBBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/BathAddByExcel',
		method: 'post',
		data: params,
		multiPartFormData: true,
	} as AxiosRequestConfig);
}

// /SMS/SMSDCAnalysisUnit/BathAddByExcel 批量导入风险管控清单记录
export const SMSDCAnalysisUnitBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/BathAddByExcel',
		method: 'post',
		data: params,
		multiPartFormData: true,
	} as AxiosRequestConfig);
}

// /SMS/OmsEduExaminationPaper/Delete 考卷编制 - 删除记录
export const OmsEduExaminationPaperDelete = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSIPTask/List 巡检任务 下拉列表
export const SMSIPTaskList = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/List',
		method: 'get',
		data: params,
	});
}

// /SMS/EduTrainingPlan/Detail 培训计划详情
export const EduTrainingPlanDetail = (params: object) => {
	return request({
		url: '/SMS/EduTrainingPlan/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/EduStudyOL/Detail 在线学习详情
export const EduStudyOLDetail = (params: object) => {
	return request({
		url: '/SMS/EduStudyOL/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/OmsEduExaminationDB/Detail 考核题库详情
export const OmsEduExaminationDBDetail = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationDB/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/OmsEduExaminationPaper/Detail 考卷编制详情
export const OmsEduExaminationPaperDetail = (params: object) => {
	return request({
		url: '/SMS/OmsEduExaminationPaper/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/OmsEduExamOL/Detail 在线考试详情
export const OmsEduExamOLDetail = (params: object) => {
	return request({
		url: '/SMS/OmsEduExamOL/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/OmsEduExamOL/List 获取用户考卷记录下拉列表
export const OmsEduExamOLList = (params: object) => {
	return request({
		url: '/SMS/OmsEduExamOL/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRPlan/Detail 应急演练计划详情
export const SMSDRPlanDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDRPlan/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRRecord/Detail 应急演练记录详情
export const SMSDRRecordDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDRRecord/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskPartition/Detail 风险分区详情
export const SMSDCRiskPartitionDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskPartition/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCAnalysisUnit/Detail 风险分析单元详情
export const SMSDCAnalysisUnitDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDCAnalysisUnit/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCHazop/Detail HAZOP详情
export const SMSDCHazopDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDCHazop/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCJHA/Detail JHA详情
export const SMSDCJHADetail = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHA/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCSCL/Detail SCL详情
export const SMSDCSCLDetail = (params: object) => {
	return request({
		url: '/SMS/SMSDCSCL/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlan/Detail 巡检计划详情
export const SMSIPPlanDetail = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlan/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTask/Detail 巡检任务详情
export const SMSIPTaskDetail = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSJOBApply/Detail 作业申请详情
export const SMSJOBApplyDetail = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApply/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDRectify/Detail 隐患整改详情
export const SMSHDRectifyDetail = (params: object) => {
	return request({
		url: '/SMS/SMSHDRectify/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/Page 巡检任务-巡检项目（风险管控清单内容）获取分页列表
export const SMSIPTaskContentPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTaskOperationProcesses/List 巡检任务处理过程列表
export const SMSIPTaskOperationProcessesList = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskOperationProcesses/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPPlanContent/Page 巡检项目分页列表
export const SMSIPPlanContentPage = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlanContent/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDOperationProcesses/List 隐患处理过程获取记录列表
export const SMSHDOperationProcessesList = (params: object) => {
	return request({
		url: '/SMS/SMSHDOperationProcesses/List',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTask/Update 巡检任务编辑
export const SMSIPTaskUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSIPTask/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSIPPlanContent/ForChoose 构造勾选巡检点记录列表 巡检计划
export const SMSIPPlanContentForChoose = (params: object) => {
	return request({
		url: '/SMS/SMSIPPlanContent/ForChoose',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSIPTaskContent/ForChoose 构造勾选巡检点记录列表 巡检任务
export const SMSIPTaskContentForChoose = (params: object) => {
	return request({
		url: '/SMS/SMSIPTaskContent/ForChoose',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDHidden/Page 已归档隐患
export const SMSHDHiddenPage = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDHidden/Detail 隐患管理详情
export const SMSHDHiddenDetail = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDHidden/GetStateCount 查看各种状态隐患记录数量
export const SMSHDHiddenGetStateCount = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/GetStateCount',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSHDHidden/ListCount 获取列表数量
export const SMSHDHiddenListCount = (params: object) => {
	return request({
		url: '/SMS/SMSHDHidden/ListCount',
		method: 'get',
		data: params,
	});
}

// /sysEmp/selectorByOrg
export const sysEmpSelectorByOrg = (params: object) => {
	return request({
		url: '/sysEmp/selectorByOrg',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskJudPub/Page 承诺卡 分页列表
export const SMSDCRiskJudPubPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskJudPub/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCRiskJudPub/Add 承诺卡创建记录
export const SMSDCRiskJudPubAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskJudPub/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCRiskJudPub/Update 承诺卡编辑记录
export const SMSDCRiskJudPubUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskJudPub/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCRiskJudPub/Delete 承诺卡删除记录
export const SMSDCRiskJudPubDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskJudPub/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCRiskJudPub/BathaAddOrUpdate 同步至大屏
export const SMSDCRiskJudPubBathaAddOrUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCRiskJudPub/BathaAddOrUpdate',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSJOBSafetyPrecautionTemp/Page 安全措施模板 分页查询
export const SMSJOBSafetyPrecautionTempPage = (params: object) => {
	return request({
		url: '/SMS/SMSJOBSafetyPrecautionTemp/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSJOBSafetyPrecautionTemp/Add 安全措施模板 新增
export const SMSJOBSafetyPrecautionTempAdd = (params: object) => {
	return request({
		url: '/SMS/SMSJOBSafetyPrecautionTemp/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBSafetyPrecautionTemp/Update 安全措施模板 编辑
export const SMSJOBSafetyPrecautionTempUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSJOBSafetyPrecautionTemp/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSJOBSafetyPrecautionTemp/Delete 安全措施模板 删除
export const SMSJOBSafetyPrecautionTempDelete = (params: object) => {
	return request({
		url: '/SMS/SMSJOBSafetyPrecautionTemp/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSJOBSafetyPrecautionTemp/Detail 安全措施模板 详情
export const SMSJOBSafetyPrecautionTempDetail = (params: object) => {
	return request({
		url: '/SMS/SMSJOBSafetyPrecautionTemp/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSJOBApplyCheckTemp/Add 签票/验票模板新增
export const SMSJOBApplyCheckTempAdd = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApplyCheckTemp/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSJOBApplyCheckTemp/Update 签票/验票编辑
export const SMSJOBApplyCheckTempUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApplyCheckTemp/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSJOBApplyCheckTemp/Delete 签票/验票删除
export const SMSJOBApplyCheckTempDelete = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApplyCheckTemp/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSJOBApplyCheckTemp/Page 签票/验票分页查询
export const SMSJOBApplyCheckTempPage = (params: object) => {
	return request({
		url: '/SMS/SMSJOBApplyCheckTemp/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/Add 固定资产台账 新增
export const SMSAssFixedAssetLedgerAdd = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/Update 固定资产台账 编辑
export const SMSAssFixedAssetLedgerUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/Delete 固定资产台账 删除
export const SMSAssFixedAssetLedgerDelete = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/Detail 固定资产台账 详情
export const SMSAssFixedAssetLedgerDetail = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/Detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/Page 固定资产 分页查询
export const SMSAssFixedAssetLedgerPage = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSAssFixedAssetLedger/BathAddByExcel 固定资产批量导入
export const SMSAssFixedAssetLedgerBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSAssFixedAssetLedger/BathAddByExcel',
		method: 'post',
		data: params,
	});
}

// /sysUser/detail 根据用户查看部门信息
export const sysUserdetail = (params: object) => {
	return request({
		url: '/sysUser/detail',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCSysDSTaskMa/BathAddTasks
export const SMSDCSysDSTaskMaBathAddTasks = (params: object) => {
	return request({
		url: '/SMS/SMSDCSysDSTaskMa/BathAddTasks',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCLS/Page 作业活动风险评价 LS法
export const SMSDCLSPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCLS/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCLS/Delete 作业活动风险评价删除 LS法
export const SMSDCLSDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCLS/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCLS/BathAddByExcel 作业活动风险评价批量上传 LS法
export const SMSDCLSBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSDCLS/BathAddByExcel',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCLS/Update 作业活动风险评价编辑 LS法
export const SMSDCLSUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCLS/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCLS/Add 作业活动风险评价新增 LS法
export const SMSDCLSAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCLS/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCJHALEC/Page 分页 工作危害性分析和作业条件危险性分析评价法 （JHA + LEC）
export const SMSDCJHALECPage = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHALEC/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDCJHALEC/BathAddByExcel 批量导入设备设施风险评价记录 （JHA + LEC）
export const SMSDCJHALECBathAddByExcel = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHALEC/BathAddByExcel',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDCJHALEC/Delete 删除 工作危害性分析和作业条件危险性分析评价法 （JHA + LEC）
export const SMSDCJHALECDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHALEC/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDCJHALEC/Update 编辑 工作危害性分析和作业条件危险性分析评价法 （JHA + LEC）
export const SMSDCJHALECUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHALEC/Update',
		method: 'put',
		data: params,
	});
}

// /SMS/SMSDCJHALEC/Add 新增 工作危害性分析和作业条件危险性分析评价法 （JHA + LEC）
export const SMSDCJHALECAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDCJHALEC/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDRFile/Page 应急文档管理 获取分页列表
export const SMSDRFilePage = (params: object) => {
	return request({
		url: '/SMS/SMSDRFile/Page',
		method: 'get',
		data: params,
	});
}

// /SMS/SMSDRFile/Delete 应急文档管理 删除
export const SMSDRFileDelete = (params: object) => {
	return request({
		url: '/SMS/SMSDRFile/Delete',
		method: 'DELETE',
		data: params,
	});
}

// /SMS/SMSDRFile/Add 应急文档管理 新增
export const SMSDRFileAdd = (params: object) => {
	return request({
		url: '/SMS/SMSDRFile/Add',
		method: 'post',
		data: params,
	});
}

// /SMS/SMSDRFile/Update 应急文档管理 编辑
export const SMSDRFileUpdate = (params: object) => {
	return request({
		url: '/SMS/SMSDRFile/Update',
		method: 'put',
		data: params,
	});
}




